

<div class="modal-dialog" style="width:752px;margin-top: 120px">
    <div class="modal-content" style="min-height:381px; max-height: 450px">
        <div class="custom-modal-header">
            <div class="custom-modal-title">
                <div>修改房型</div>
                <div data-dismiss="modal"></div>
            </div>
        </div>

        <div class="update-roomtype-body">
            <div class="roomtype-name-item">
                <span class="point"></span>
                <span>房型名称</span>
                <span style="position: relative"><input type="text" name="roomTypeName" id="roomTypeName" value=<%=roomTypeName%>></span>
            </div>
            <div class="roomtype-notes-item">
                <input type="text" name="notes" id="notes" placeholder="备注" value=<%=roomTypeNotes%>>
            </div>
            <div class="init-price-item">
                <span class="point"></span>
                <span>初始默认价</span>
                <span><input type="text" name="initPrice" id="initPrice" value=<%= defaultPrice.attributes.initPrice%>></span>
            </div>
            <div class="weekday-price-item">
                <span style="position: relative">
                    <p>周一</p>
                    <p><input type="text" name="mondayPrice" id="mondayPrice" value=<%= defaultPrice.attributes.mondayPrice%>></p>
                </span>
                <span style="position: relative">
                    <p>周二</p>
                    <p><input type="text" name="tuesdayPrice" id="tuesdayPrice" value=<%= defaultPrice.attributes.tuesdayPrice%>></p>
                </span>
                <span style="position: relative">
                    <p>周三</p>
                    <p><input type="text" name="wednesdayPrice" id="wednesdayPrice" value=<%= defaultPrice.attributes.wednesdayPrice%>></p>
                </span>
                <span style="position: relative">
                    <p>周四</p>
                    <p><input type="text" name="thursdayPrice" id="thursdayPrice" value=<%= defaultPrice.attributes.thursdayPrice%>></p>
                </span>
                <span style="position: relative">
                    <p>周五</p>
                    <p><input type="text" name="fridayPrice" id="fridayPrice" value=<%= defaultPrice.attributes.fridayPrice%>></p>
                </span>
                <span style="position: relative">
                    <p>周六</p>
                    <p><input type="text" name="saturdayPrice" id="saturdayPrice" value=<%= defaultPrice.attributes.saturdayPrice%>></p>
                </span>
                <span style="position: relative">
                    <p>周日</p>
                    <p><input type="text" name="sundayPrice" id="sundayPrice" value=<%= defaultPrice.attributes.sundayPrice%>></p>
                </span>
            </div>
            <div class="room-number-item">
                <span class="point"></span>
                <span>房间号</span>
            </div>
            <div class="add-remove-room-number-item">
                <% roomModels.each(function(roomModel){%>
                <div class="roomUnit">
                    <div style="position: relative"><input type="text" data-roomid=<%= roomModel.attributes.roomId%> value=<%= roomModel.attributes.roomNumber%> class="roomInput" name="roomInputTB"></div>
                    <div class="removeRoom"></div>
                </div>
                <% }); %>
                <span class="addRoom"></span>
            </div>
        </div>
        <div class="errorMsg">

        </div>
        <div class="update-roomtype-footer">
            <button id="saveBtn">
                保存
            </button>
        </div>

    </div>
</div>
